PUT api/calorie/update

Request Information

URI Parameters

None.

Body Parameters

RequestCalorieIntake
NameDescriptionTypeAdditional information
AccountID

integer

None.

Calorie

integer

None.

Cholesterol

decimal number

None.

FoodName

string

None.

ID

integer

None.

IsActive

boolean

None.

MealTypeID

integer

None.

Protein

decimal number

None.

ServingSize

decimal number

None.

ServingType

string

None.

Sodium

decimal number

None.

TargetCalories

integer

None.

TotalCarbohydrates

decimal number

None.

TotalFat

decimal number

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "Calorie": 2,
  "Cholesterol": 3.0,
  "FoodName": "sample string 4",
  "ID": 5,
  "IsActive": true,
  "MealTypeID": 7,
  "Protein": 8.0,
  "ServingSize": 9.0,
  "ServingType": "sample string 10",
  "Sodium": 11.0,
  "TargetCalories": 12,
  "TotalCarbohydrates": 13.0,
  "TotalFat": 14.0,
  "UserID": "sample string 15"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.